PowerSNMP for .NET
Add Method (SafeDictionary<TKey,TValue>)




Key used for lookup.
Value to set.
Adds the specified key and value to the dictionary.
Syntax
Public Shadows Sub Add( _
   ByVal key As TKey, _
   ByVal value As TValue _
) 
Dim instance As SafeDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.Add(key, value)
public new void Add( 
   TKey key,
   TValue value
)
public: new void Add( 
   TKey* key,
   TValue* value
) 
public:
new void Add( 
   TKey^ key,
   TValue^ value
) 

Parameters

key
Key used for lookup.
value
Value to set.
Remarks
Locks on SyncRoot to provide automatic thread safety.
See Also

Reference

SafeDictionary<TKey,TValue> Class
SafeDictionary<TKey,TValue> Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic